package 面向对象中级.课堂练习.Exercise02;

public class MyDateTest {
    public static void main(String[] args) {
        //创建MyDate对象，并测试。
        MyDate myDate = new MyDate(2024,11,24);
        myDate.showDate();
        System.out.println(myDate.isLeapYear());
    }
}
